#pragma once

#include "Primitive.h"
#include <iostream>

//
// i<integer encoded in base ten ASCII>e
// Example: i3e represents the integer "3"
//

namespace Torrent
{
    namespace Bencode
    {    
        typedef long long int64;
        class Integer : public Primitive<int64>
        {
        public:
            Integer(std::istream& stream);
            ~Integer(void);

            virtual void print(std::ostream& stream, bool debug = false);;
        };
    } //Bencode
}//Torrent